home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0042-Re object type coer-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-11  |  826 b   |  34 lines  |  [TEXT/GEOL]

  1. Item    5755434                         10-Oct-89        19:25
  2.  
  3. From:   SCHMUCKER1                      Schmucker, Kurt
  4.  
  5. To:     ROTH2                           Roth, Eric
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Re: object type coercion
  10.  
  11. Eric,
  12.  
  13.     Yup, there is "something about the resource definition of the popup view
  14. that has to match up with the new subclass".
  15.  
  16.     The resource file contains the actual name of the class of the object.
  17. This is the only way MacApp "knows" about your view subclasses.
  18.  
  19.     Example:
  20.  
  21. TextListView   {
  22.     "TMiddlePane",           <- this is the name of the class
  23.     0, 1, 12, 12, 0, 4,
  24.    dontAdornRows,
  25.     dontAdornCols,
  26.     singleSelection,
  27.     applFont9 };
  28.  
  29.     Change your's from TPopup to TMyPopup and you should be fine.
  30.  
  31.  
  32.                 Kurt
  33.  
  34.